﻿@model IEnumerable<Models.House>

@{
    ViewBag.Title = "Home";
    Layout = "~/Views/Shared/_LayoutHome.cshtml";
}
@* 基本布局 *@
<link href="~/Home/css/grid.css" rel="stylesheet" />
<link href="~/Home/css/Home.css" rel="stylesheet" />
@* 信息显示页 *@
<div class="xiaodaohlan grid">
    <div class="text grid-cell-1">
        <a href="#">浏览全部</a>&nbsp;&nbsp;|
        <a href="#">房屋出租</a>
        <a href="#">房屋出售</a>
        <a href="#">房屋合租</a>
        <a href="#">房屋求租</a>
        <a href="#">房屋求购</a>
    </div>
</div>
@* 标题 *@
<div class="Hometext grid">
    <div class="text">
        房屋信息展示
    </div> 
</div>
@* 横线 *@
<div class="showhr">
    <hr />
</div>
@* 信息显示 *@
<div class="Homeshow grid">
    @foreach (var fwxinxi in Model)
    {
        <div class="Homeshowbox">
            <div class="imgbox">
                <img class="img" src="~/UploadFile/@fwxinxi.ImgesUrl" alt="Alternate Text" />
            </div>
            <div class="usershow grid">
                <div class="showzuo grid-cell-1">
                    <div class="show1">用户：@fwxinxi.Name</div>
                    <div class="show1">户型:@fwxinxi.Houses</div>
                    <div class="show1">金额：@fwxinxi.Monthly</div>
                    <div class="show1">种类：@fwxinxi.Type</div>
                </div>
                <div class="showyoy grid-cell-1">
                    <div class="show1">类型:@fwxinxi.Information</div>
                    <div class="show1">装修:@fwxinxi.Renovation</div>
                    <div class="show1">面积：@fwxinxi.Area</div>
                </div>
            </div>
        </div>
    }
</div>
<div class="ckgd grid">
      <div class="ckgdnr" onclick="location.href='/Home/BrowseAll'">查看更多</div>
</div>

